<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="制作证书链文件">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000002200004901">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>制作证书链文件</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000002200004901"></a><a name="ZH-CN_TOPIC_0000002200004901"></a>

<h1 class="topictitle1">制作证书链文件</h1>
<div><p>当CA证书不是根CA证书时，导入的CA证书必须是一个完整的证书链文件。本文介绍如何制作证书链文件。</p>
<div class="section"><h4 class="sectiontitle">前提条件</h4><p>已获取设备证书的多级CA证书文件。</p>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><p>以为Google Chrome浏览器为例。</p>
<ol><li><span>打开Google Chrome浏览器，单击<span><img src="zh-cn_image_0000002164763930.png"></span>，选择<span class="uicontrol">“连接是安全的”</span>。</span></li><li><span>单击<span class="uicontrol">“证书有效”</span>。</span></li><li><span>在对话框中，选择“详细信息”页签。</span></li><li><span>选择证书结构中非最后一层的证书，单击“导出”。</span></li><li><span>在本地新建一个空白的文本文档，如certificate.txt。</span></li><li><span>按根证书、二级证书、三级证书...的顺序依次打开证书文件，并依次复制证书文件内容（从“-----BEGIN CERTIFICATE-----”到“-----END CERTIFICATE-----”）到新建的文本文档中。</span><p><p>下图以设备证书为三级CA证书的为例，完整的证书链内容示例如下。</p>
<p><span><img src="zh-cn_image_0000002200004945.png"></span></p>
</p></li><li><span>保存文件，修改后缀名称为pem。</span></li></ol>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>